﻿using B.S.BaseData.ErrorCode;
using MediatR;

namespace B.S.BaseData.Write.Api.Application.Command.RoleCommand
{
    public class AddRoleCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
